﻿
@model RTW.OA.Models.meeting_equipment
@{
    ViewBag.Title = "会议室设备明细";
    Layout = "~/Views/Shared/_LayoutBase.cshtml";
}

<div id="dMain">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox" style="margin-bottom: 0px;">
            <div class="ibox-title">
                <h4>@ViewBag.Title </h4>
            </div>
            <div class="ibox-content">
                @using (Html.BeginForm("EquipmentDetails", "Equipment", FormMethod.Post, new { area = "Meeting", id = "Detailsfrom", name = "Detailsfrom" }))
                {
                    @Html.AntiForgeryToken()

                    <div class="from-content">
                        <dl>
                            <dt>设备编号</dt>
                            <dd>
                                @Html.DisplayTextFor(m => m.EQUIPMENT_NO)
                            </dd>
                        </dl>
                        <dl>
                            <dt>设备名称</dt>
                            <dd>
                                @Html.DisplayTextFor(m => m.EQUIPMENT_NAME)
                            </dd>
                        </dl>
                        <dl>
                            <dt>设备状态</dt>
                            <dd>
                                @{ 
                                    if (Model.EQUIPMENT_STATUS)
                                    {<span>是</span> }
                                    else
                                    {<span>否</span> }
                                }
                                @*<div class="rule-single-checkbox"> @Html.CheckBoxFor(m => m.EQUIPMENT_STATUS, new { @class = "form-control" }) </div>*@
                            </dd>
                        </dl>
                        <dl>
                            <dt>设备描述</dt>
                            <dd>
                                @Html.DisplayTextFor(m => m.REMARK)
                            </dd>
                        </dl>
                        <dl>
                            <dt>同类设备</dt>
                            <dd>
                                @Html.DisplayTextFor(m => m.GROUP_YN)
                            </dd>
                        </dl>
                        <dl>
                            <dt>同类设备名称</dt>
                            <dd>
                                @Html.DisplayTextFor(m => m.GROUP_NO)
                            </dd>
                        </dl>
                        <dl>
                            <dt>所属会议室</dt>
                            <dd>
                                @ViewBag.MR_ID
                            </dd>
                        </dl>

                    </div>
                }
            </div>
        </div>
    </div>
</div>

